<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>发表格言</title>
    <link rel="stylesheet" href="/public/lib/bootstrap/dist/css/bootstrap.css">
    <style>
        .container {
            margin-top: 150px;
        }

        textarea {
            margin: 20px 0;
        }
    </style>
</head>

<body>
    <div class="container">
        <h2 class="text-primary"><a href="/">首页</a>/发表格言</h2>
        <form action="/post" method="post">
            <input type="hidden" name="id">
            <div class="form-group">
                <input type="text" class="form-control" placeholder="输入你的大名" required minlength="2" maxlength="10"
                    name="name">
                <textarea class="form-control" rows="3" minlength="10" required placeholder="请输入你的格言（最少5个字）"
                    name="message"></textarea>
                <button type="submit" class="btn btn-primary">发表格言</button>
            </div>
        </form>
    </div>
</body>

</html>